Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@gitbeaker/node
Advanced tools
Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.
@gitbeaker/node is a Node.js library that provides a comprehensive interface for interacting with the GitLab API. It allows developers to automate and manage various aspects of GitLab, such as projects, issues, users, and more, through a simple and consistent API.
Project Management
This feature allows you to manage projects within GitLab. The code sample demonstrates how to create a new project using the GitLab API.
const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });
async function createProject() {
const project = await api.Projects.create({ name: 'new-project' });
console.log(project);
}
createProject();
Issue Management
This feature allows you to manage issues within GitLab. The code sample demonstrates how to create a new issue in a specific project using the GitLab API.
const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });
async function createIssue() {
const issue = await api.Issues.create(1, { title: 'New Issue', description: 'Issue description' });
console.log(issue);
}
createIssue();
User Management
This feature allows you to manage users within GitLab. The code sample demonstrates how to list all users using the GitLab API.
const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });
async function listUsers() {
const users = await api.Users.all();
console.log(users);
}
listUsers();
Repository Management
This feature allows you to manage repositories within GitLab. The code sample demonstrates how to list all files in a repository using the GitLab API.
const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });
async function listRepositoryFiles() {
const files = await api.Repositories.tree(1);
console.log(files);
}
listRepositoryFiles();
node-gitlab is another Node.js library for interacting with the GitLab API. It provides similar functionalities to @gitbeaker/node but may have a different API design and feature set.
gitlab is a JavaScript library for interacting with the GitLab API. It offers a wide range of functionalities similar to @gitbeaker/node but may have different usage patterns and API coverage.
node-gitlab-api is a Node.js wrapper for the GitLab API. It provides functionalities for managing projects, issues, users, and more, similar to @gitbeaker/node, but with its own API design and implementation.
25.6.0 (Mon Nov 30 2020)
:tada: This release contains work from a new contributor! :tada:
Thank you, Hennadii Varava (@Sumragen), for all your work!
@gitbeaker/core
FAQs
Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.
The npm package @gitbeaker/node receives a total of 305,383 weekly downloads. As such, @gitbeaker/node popularity was classified as popular.
We found that @gitbeaker/node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.